{% extends "base.html" %}
{% block subtitle %} | Login {% endblock subtitle %}


{% block content %}
<div>
{% if form.errors %}
<p>Your username and password didn't match. Please try again.</p>
{% endif %}

<form method="post" action=".">
{% csrf_token %}
<table style="margin: 25px auto;">
<tr>
    <td>{{ form.username.label_tag }}:</td><td>{{ form.username }}</td>
    <script type="text/javascript">document.forms[0].{{form.username.html_name}}.focus();</script>
</tr>
<tr>
    <td>{{ form.password.label_tag }}:</td><td>{{ form.password }}</td>
</tr>
<tr>
    <td style="text-align: center;" colspan="2"><a href="{% course_url django.contrib.auth.views.password_reset %}">Forgot password?</a></td>

<tr>
    
</tr>
</table>
<p style="text-align: center;" colspan="2"><input type="submit" value="Login" /></p>
<input type="hidden" name="next" value="{{ next }}" />

</form>
</div>
{% endblock %}

